package com.test.clyq.entity;

import com.test.entity.Item;
import com.test.json.JsonUtil;

/**
 * 评价选项内容实体. <br>
 * 评价选项内容实体.
 * <p>
 * Copyright: Copyright (c) Mar 15, 2011 6:43:36 PM
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * 
 * @author suncg@c-platform.com
 * @version 1.0.0
 */
public class Content implements Item {

	private static final long serialVersionUID = 2157038028229732428L;

	/** 评价选项内容 */
	private String content;

	/** 评价选项实体 */
	private Long contentQuestionId;

	/** 评价时间 */
	private Long date;

	/** 主键 */
	private Long id;

	/** 用户 */
	private String user;

	public String getContent() {
		return content;
	}

	public Long getContentQuestionId() {
		return contentQuestionId;
	}

	public Long getDate() {
		return date;
	}

	public Long getId() {
		return id;
	}

	public String getUser() {
		return user;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setContentQuestionId(Long contentQuestionId) {
		this.contentQuestionId = contentQuestionId;
	}

	public void setDate(Long date) {
		this.date = date;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String toJSON() {
		return JsonUtil.getJsonStringFromObject(this);
	}

	public String toXML() {
		// TODO Auto-generated method stub
		return null;
	}

}
